package com.wn.budget.model;

import com.wn.budget.code.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 材料
 */
@Data
@Entity
public class Material extends BaseEntity {

    /// <summary>
    /// 材料库id
    /// </summary>
    @Column(name = "material_depot_Id", length = 36)
    public String materialDepotId;

    /// <summary>
    /// 材料名称
    /// </summary>
    @Column(length = 100)
    public String name;

    /// <summary>
    /// 单位
    /// </summary>
    @Column(length = 100)
    public String units;

    /// <summary>
    /// 单价
    /// </summary>
    public double price;

    /// <summary>
    /// 说明
    /// </summary>
    public String remark;
}
